home *** CD-ROM | disk | FTP | other *** search
- Path: gail.ripco.com!mambuhl
- From: mambuhl@ripco.com (Martin Ambuhl)
- Newsgroups: comp.lang.c
- Subject: Re: HELP..Need to find wh
- Date: 3 Feb 1996 00:29:41 GMT
- Organization: Ripco Communications, Inc.
- Message-ID: <4eua9l$s5k@gail.ripco.com>
- NNTP-Posting-Host: golden.ripco.com
-
- Jose Andres Giraldez <vittohue@wpi.edu>
- in <Pine.OSF.3.91.960201012731.27628B-100000@reno.WPI.EDU> asks:
-
- >I need to find why atan2 gives a number smaller than -180 and greater
- >than 180.
-
- (BTW atan2 is restricted to a range much smaller than -180,180. Since
- we know what you mean, let that pass...)
-
- After cleaning up the code slightly (stuff like removing the syntax
- errors at the end, adding a return, etc.) I supplied values for N_MEAS
- and x[] and y[], which I suppose are in the extremely non-standard
- header "/cs/cs1005/problems/problem2/problem2.h", and provided an
- initialization: double radius_sum = 0;
-
- Compiling and running with 4 different compilers failed to replicate
- your problem. If particular values of x[] and y[] produce your problem,
- let us in on them.
-
-
- --
- * Martin Ambuhl net: mambuhl@ripco.com
- * Chicago, IL (USA)
-